package org.example;

public class ListNode {
    int val;
    ListNode next;
    ListNode(int x) {
        val = x;
    }
    ListNode(){};
    ListNode(int x,ListNode next){
        val = x;
        this.next = next;
    }
}
